home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / Pedestal / Source / Includes / PedFile.hh < prev    next >
Encoding:
Text File  |  2000-06-24  |  982 b   |  49 lines

  1. /*    ==========
  2.  *    PedFile.hh
  3.  *    ==========
  4.  *    
  5.  *    Implemented by PedFile.cc
  6.  */
  7.  
  8. #pragma once
  9.  
  10. #include "PedObject.hh"
  11.  
  12. typedef short AccessPath;
  13.  
  14. class PedFSRef;
  15.  
  16. class PedFile : public PedObject {
  17. public:
  18.     PedFile();
  19.     PedFile(PedFSRef &inFSRef);
  20.     virtual ~PedFile();
  21.     
  22.     virtual void SetFSRef(PedFSRef &inRef);
  23.     //virtual void SetType(OSType inType);
  24.     //virtual void SetCreator(OSType inCreator);
  25.     //virtual void SetTypeCreator(OSType inType, OSType inCreator);
  26.     
  27.     //virtual PedFSRef &Parent();
  28.     //virtual unsigned char *Name();
  29.     //virtual OSType Type();
  30.     //virtual OSType Creator();
  31.     //virtual Boolean IsLocked();
  32.     //virtual Boolean IsInvisible();
  33.     
  34.     //virtual void Delete();
  35.     //virtual void Move();
  36.     //virtual void Rename();
  37.     //virtual void MoveRename();
  38.     //virtual void Lock();
  39.     //virtual void Unlock();
  40.     
  41.     virtual AccessPath OpenData(SInt8 inPerm) const;
  42.     virtual AccessPath OpenResFile(SInt8 inPerm) const;
  43.     
  44. protected:
  45.     PedFSRef *mRef;
  46.     //OSType mType;
  47.     //OSType mCreator;
  48. };
  49.